package com.googlecode.flealancemarket.tapestry.components;

import org.apache.tapestry.annotations.Parameter;

/**
 *
 * @author vanja
 */
public class MessagesMenu {

    @Parameter
    private int unread;

    public int getUnread(){
        return unread;
    }
    public void setUnread(int unread){
        this.unread = unread;
    }

    public boolean getHasUnread(){
        return unread > 0;
    }
}
